<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <% include("/app/resapi/style.html"){}%>
    <link href="/module/jeDate/jedate.css" rel="stylesheet"/>
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link rel="stylesheet" href="/gobal/js/page/superversion/bootstrap-select.css" type="text/css">
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 0px; padding-top: 5px;">
    <div class="page-container">
        <div class="tabbable">
            <ul class="nav nav-tabs tabs-flat" id="myTab"
                style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                <li class=""><a href="/app/core/superversion/createsuperverion?configId=${parameter.configId}"
                                aria-expanded="false">督查立项</a></li>
                <li class="active"><a
                        href="/app/core/superversion/createsuperverion?configId=${parameter.configId}&view=mysuperverionmanage"
                        aria-expanded="true"> 我的立项 </a></li>
            </ul>
            <div class="tab-content tabs-flat">
                <div class="buttons-preview" id="toobar">
                    <span style="margin-left: 10px">事件状态:</span> <span> <select id="status" style="width: 150px">
								<option value="">全部</option>
								<option value="0">进行中</option>
								<option value="1">延期中</option>
								<option value="2">已完成</option>
						</select>
						</span>
                    <span style="margin-left: 10px;">发布时间:</span> <span> <input type="text" class="form-control"
                                                                                id="beginTimeQuery" readonly="readonly"
                                                                                style="width: 150px; display: inline-block;"
                                                                                name="beginTime" placeholder="${i18n('system.beginTime')}">
						</span> <span> - </span> <span> <input type="text" class="form-control" id="endTimeQuery"
                                                               readonly="readonly"
                                                               style="width: 150px; display: inline-block;"
                                                               name="endTime" placeholder="${i18n('system.endTime')}">
						</span> <span style="margin-left: 10px;">牵头人:</span> <span> <input type="text"
                                                                                           class="form-control"
                                                                                           id="handedUserQuery"
                                                                                           readonly="readonly"
                                                                                           style="width: 150px; display: inline-block;"
                                                                                           opt-id="handedUserQuery"
                                                                                           onclick="selectUser(this,'false');"
                                                                                           name="handedUser"
                                                                                           placeholder="牵头人">
						</span> <span style="margin-left: 10px"> <a href="javascript:void(0);"
                                                                    class="btn btn-success js-query-but">${i18n('system.search')}</a>
						</span>
                </div>
                <table id="myTable"></table>
            </div>
        </div>
    </div>
</div>

<div class="modal fade bs-example-modal-lg" id="distributionlymodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel">任务分配</h4>
            </div>
            <div class="modal-body" style="padding: 5px;">
                <form class="form-horizontal form-bordered" role="form" id="form1">
                    <table class="table table-hover table-striped table-bordered">
                        <tr>
                            <td width="20%">任务标题：</td>
                            <td width="80%" colspan="3"><input placeholder="任务标题" type="text" name="title" id="title"
                                                               maxlength="200" class="form-control"></td>
                        </tr>
                        <tr>
                            <td width="20%">主办人：</td>
                            <td width="30%"><select class="form-control" id="holder" name="holder" style="border-radius: 0px;"></select></td>
                            <td width="20%">经办人：</td>
                            <td width="30%">
                                <select class="selectpicker bla bla bli form-control" multiple data-live-search="true" id="operator" name="operator"></select>
                            </td>
                        </tr>
                        <tr>
                            <td width="20%">${i18n('system.beginTime')}：</td>
                            <td width="30%"><input type="text" class="form-control" id="beginTime"
                                                   readonly="readonly" name="beginTime" placeholder="${i18n('system.beginTime')}"></td>
                            <td width="20%">完成时间：</td>
                            <td width="30%"><input type="text" class="form-control" id="endTime"
                                                   readonly="readonly" name="endTime" placeholder="${i18n('system.endTime')}"></td>
                        </tr>
                        <tr>
                            <td width="20%">任务要求：</td>
                            <td width="80%" colspan="3">
                                <div id="content" style="height: 200px"></div>
                            </td>
                        </tr>
                        <tr>
                            <td width="20%">相关附件：</td>
                            <td width="80%" colspan="3">
                                <div style="padding-top: 4px;">
                                    <div id="show_superversionattach"></div>
                                    <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value=""
                                                                                                              type="file"
                                                                                                              onchange="fileUpLoad('superversion','superversionattach');"
                                                                                                              hidefocus="true"
                                                                                                              size="1"
                                                                                                              id="superversionattach"
                                                                                                              name="superversionattach"
                                                                                                              class="addfile"
                                                                                                              multiple="multiple"></a>
                                </div>
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-save">分配</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>


<div class="modal fade bs-example-modal-lg" id="setfinishmodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"
     style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">完成对话框</h4>
            </div>
            <div class="modal-body">
                <table class="table table-hover table-striped table-bordered">
                    <tr>
                        <td width="20%">完成时间：</td>
                        <td width="80%" colspan="3"><input placeholder="完成时间" type="text" name="finishTime" id="finishTime" maxlength="20" class="form-control" readonly="readonly"></td>
                    </tr>
                </table>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-add-finish">${i18n('ok')}</button>
            </div>
        </div>
    </div>
</div>


<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<% include("/app/resapi/sysjs.html"){}%>
<script>
    var configId = "${parameter.configId}";
</script>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script src="/module/bootstrap-table/bootstrap-table.js"></script>
<script src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="/module/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="/gobal/js/page/superversion/bootstrap-select.js"></script>
<script type="text/javascript" src="/gobal/js/page/superversion/mysuperversionmanage.js"></script>
</html>
